from lolita.SinaOpenrate import operateSina
from lolita.BiliOpenrate import operateBili
import time


def update():
    print("start update bilibili ~")
    operateBili()
    print("update bilibili finished ~")
    print("start update sina ~")
    operateSina()
    print("update sina finished ~")


if __name__ == "__main__":
    while True:
        update()
        # updatePost()
        time.sleep(60 * 60 * 24)
